package multidraw.model.commands;

public class TransferControlCommand extends Command {
    private String controlReceiver;
    private String oldController;
    
    public TransferControlCommand( String receiver, String old){
	controlReceiver = receiver;
	oldController = old;
    }
    
    public void execute() {
    	if (canvas != null) {
    		canvas.applyTransferControl(controlReceiver, oldController);
    	}
    }
}
